#!/bin/sh
set -e

gsutil-latest-checkpoint "$@" | rg -o '[^/]+[-]([0-9]+)[^/0-9]*$' --replace '$1' --color=never
